package com.cdtye.itps.cms.dao.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 删除标志枚举
 * @author gaozx
 * @date 2020-08-20
 */
@Getter
@AllArgsConstructor
public enum DelFlagEnum {

    /**
     * 是
     */
    YES("Y","是"),
    /**
     * 否
     */
    NO("N","否");

    @EnumValue
    public final String value;

    @JsonValue
    public final String text;
}
